{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Pandas怎样快捷方便的处理日期数据\n",
    "\n",
    "Pandas日期处理的作用：将2018-01-01、1/1/2018等多种日期格式映射成统一的格式对象，在该对象上提供强大的功能支持\n",
    "\n",
    "几个概念：\n",
    "1. pd.to_datetime：pandas的一个函数，能将字符串、列表、series变成日期形式\n",
    "2. Timestamp：pandas表示日期的对象形式\n",
    "3. DatetimeIndex：pandas表示日期的对象列表形式\n",
    "\n",
    "其中：\n",
    "* DatetimeIndex是Timestamp的列表形式\n",
    "* pd.to_datetime对单个日期字符串处理会得到Timestamp\n",
    "* pd.to_datetime对日期字符串列表处理会得到DatetimeIndex\n",
    "\n",
    "<img src=\"./other_files/pandas-todatetime-timestamp-datetimeindex.png\" style=\"margin-left:0px\"/>"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 问题：怎样统计每周、每月、每季度的最高温度？"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 1、读取天气数据到dataframe"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>ymd</th>\n",
       "      <th>bWendu</th>\n",
       "      <th>yWendu</th>\n",
       "      <th>tianqi</th>\n",
       "      <th>fengxiang</th>\n",
       "      <th>fengli</th>\n",
       "      <th>aqi</th>\n",
       "      <th>aqiInfo</th>\n",
       "      <th>aqiLevel</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>2018-01-01</td>\n",
       "      <td>3</td>\n",
       "      <td>-6</td>\n",
       "      <td>晴~多云</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>59</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>2018-01-02</td>\n",
       "      <td>2</td>\n",
       "      <td>-5</td>\n",
       "      <td>阴~多云</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>49</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>2018-01-03</td>\n",
       "      <td>2</td>\n",
       "      <td>-5</td>\n",
       "      <td>多云</td>\n",
       "      <td>北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>28</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>2018-01-04</td>\n",
       "      <td>0</td>\n",
       "      <td>-8</td>\n",
       "      <td>阴</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>28</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>4</td>\n",
       "      <td>2018-01-05</td>\n",
       "      <td>3</td>\n",
       "      <td>-6</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>西北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>50</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "          ymd  bWendu  yWendu tianqi fengxiang fengli  aqi aqiInfo  aqiLevel\n",
       "0  2018-01-01       3      -6   晴~多云       东北风   1-2级   59       良         2\n",
       "1  2018-01-02       2      -5   阴~多云       东北风   1-2级   49       优         1\n",
       "2  2018-01-03       2      -5     多云        北风   1-2级   28       优         1\n",
       "3  2018-01-04       0      -8      阴       东北风   1-2级   28       优         1\n",
       "4  2018-01-05       3      -6   多云~晴       西北风   1-2级   50       优         1"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "fpath = \"./datas/beijing_tianqi/beijing_tianqi_2018.csv\"\n",
    "df = pd.read_csv(fpath)\n",
    "# 替换掉温度的后缀℃\n",
    "df.loc[:, \"bWendu\"] = df[\"bWendu\"].str.replace(\"℃\", \"\").astype('int32')\n",
    "df.loc[:, \"yWendu\"] = df[\"yWendu\"].str.replace(\"℃\", \"\").astype('int32')\n",
    "df.head()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 2、将日期列转换成pandas的日期"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "df.set_index(pd.to_datetime(df[\"ymd\"]), inplace=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>ymd</th>\n",
       "      <th>bWendu</th>\n",
       "      <th>yWendu</th>\n",
       "      <th>tianqi</th>\n",
       "      <th>fengxiang</th>\n",
       "      <th>fengli</th>\n",
       "      <th>aqi</th>\n",
       "      <th>aqiInfo</th>\n",
       "      <th>aqiLevel</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>ymd</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>2018-01-01</td>\n",
       "      <td>2018-01-01</td>\n",
       "      <td>3</td>\n",
       "      <td>-6</td>\n",
       "      <td>晴~多云</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>59</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-02</td>\n",
       "      <td>2018-01-02</td>\n",
       "      <td>2</td>\n",
       "      <td>-5</td>\n",
       "      <td>阴~多云</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>49</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-03</td>\n",
       "      <td>2018-01-03</td>\n",
       "      <td>2</td>\n",
       "      <td>-5</td>\n",
       "      <td>多云</td>\n",
       "      <td>北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>28</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-04</td>\n",
       "      <td>2018-01-04</td>\n",
       "      <td>0</td>\n",
       "      <td>-8</td>\n",
       "      <td>阴</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>28</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-05</td>\n",
       "      <td>2018-01-05</td>\n",
       "      <td>3</td>\n",
       "      <td>-6</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>西北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>50</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   ymd  bWendu  yWendu tianqi fengxiang fengli  aqi aqiInfo  \\\n",
       "ymd                                                                           \n",
       "2018-01-01  2018-01-01       3      -6   晴~多云       东北风   1-2级   59       良   \n",
       "2018-01-02  2018-01-02       2      -5   阴~多云       东北风   1-2级   49       优   \n",
       "2018-01-03  2018-01-03       2      -5     多云        北风   1-2级   28       优   \n",
       "2018-01-04  2018-01-04       0      -8      阴       东北风   1-2级   28       优   \n",
       "2018-01-05  2018-01-05       3      -6   多云~晴       西北风   1-2级   50       优   \n",
       "\n",
       "            aqiLevel  \n",
       "ymd                   \n",
       "2018-01-01         2  \n",
       "2018-01-02         1  \n",
       "2018-01-03         1  \n",
       "2018-01-04         1  \n",
       "2018-01-05         1  "
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "DatetimeIndex(['2018-01-01', '2018-01-02', '2018-01-03', '2018-01-04',\n",
       "               '2018-01-05', '2018-01-06', '2018-01-07', '2018-01-08',\n",
       "               '2018-01-09', '2018-01-10',\n",
       "               ...\n",
       "               '2018-12-22', '2018-12-23', '2018-12-24', '2018-12-25',\n",
       "               '2018-12-26', '2018-12-27', '2018-12-28', '2018-12-29',\n",
       "               '2018-12-30', '2018-12-31'],\n",
       "              dtype='datetime64[ns]', name='ymd', length=365, freq=None)"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.index"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Timestamp('2018-01-01 00:00:00')"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# DatetimeIndex是Timestamp的列表形式\n",
    "df.index[0]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 3、 方便的对DatetimeIndex进行查询"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "ymd          2018-01-05\n",
       "bWendu                3\n",
       "yWendu               -6\n",
       "tianqi             多云~晴\n",
       "fengxiang           西北风\n",
       "fengli             1-2级\n",
       "aqi                  50\n",
       "aqiInfo               优\n",
       "aqiLevel              1\n",
       "Name: 2018-01-05 00:00:00, dtype: object"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 筛选固定的某一天\n",
    "df.loc['2018-01-05']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>ymd</th>\n",
       "      <th>bWendu</th>\n",
       "      <th>yWendu</th>\n",
       "      <th>tianqi</th>\n",
       "      <th>fengxiang</th>\n",
       "      <th>fengli</th>\n",
       "      <th>aqi</th>\n",
       "      <th>aqiInfo</th>\n",
       "      <th>aqiLevel</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>ymd</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>2018-01-05</td>\n",
       "      <td>2018-01-05</td>\n",
       "      <td>3</td>\n",
       "      <td>-6</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>西北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>50</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-06</td>\n",
       "      <td>2018-01-06</td>\n",
       "      <td>2</td>\n",
       "      <td>-5</td>\n",
       "      <td>多云~阴</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>32</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-07</td>\n",
       "      <td>2018-01-07</td>\n",
       "      <td>2</td>\n",
       "      <td>-4</td>\n",
       "      <td>阴~多云</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>59</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-08</td>\n",
       "      <td>2018-01-08</td>\n",
       "      <td>2</td>\n",
       "      <td>-6</td>\n",
       "      <td>晴</td>\n",
       "      <td>西北风</td>\n",
       "      <td>4-5级</td>\n",
       "      <td>50</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-09</td>\n",
       "      <td>2018-01-09</td>\n",
       "      <td>1</td>\n",
       "      <td>-8</td>\n",
       "      <td>晴</td>\n",
       "      <td>西北风</td>\n",
       "      <td>3-4级</td>\n",
       "      <td>34</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-10</td>\n",
       "      <td>2018-01-10</td>\n",
       "      <td>-2</td>\n",
       "      <td>-10</td>\n",
       "      <td>晴</td>\n",
       "      <td>西北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>26</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   ymd  bWendu  yWendu tianqi fengxiang fengli  aqi aqiInfo  \\\n",
       "ymd                                                                           \n",
       "2018-01-05  2018-01-05       3      -6   多云~晴       西北风   1-2级   50       优   \n",
       "2018-01-06  2018-01-06       2      -5   多云~阴       西南风   1-2级   32       优   \n",
       "2018-01-07  2018-01-07       2      -4   阴~多云       西南风   1-2级   59       良   \n",
       "2018-01-08  2018-01-08       2      -6      晴       西北风   4-5级   50       优   \n",
       "2018-01-09  2018-01-09       1      -8      晴       西北风   3-4级   34       优   \n",
       "2018-01-10  2018-01-10      -2     -10      晴       西北风   1-2级   26       优   \n",
       "\n",
       "            aqiLevel  \n",
       "ymd                   \n",
       "2018-01-05         1  \n",
       "2018-01-06         1  \n",
       "2018-01-07         2  \n",
       "2018-01-08         1  \n",
       "2018-01-09         1  \n",
       "2018-01-10         1  "
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 日期区间\n",
    "df.loc['2018-01-05':'2018-01-10']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>ymd</th>\n",
       "      <th>bWendu</th>\n",
       "      <th>yWendu</th>\n",
       "      <th>tianqi</th>\n",
       "      <th>fengxiang</th>\n",
       "      <th>fengli</th>\n",
       "      <th>aqi</th>\n",
       "      <th>aqiInfo</th>\n",
       "      <th>aqiLevel</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>ymd</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>2018-03-01</td>\n",
       "      <td>2018-03-01</td>\n",
       "      <td>8</td>\n",
       "      <td>-3</td>\n",
       "      <td>多云</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>46</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-02</td>\n",
       "      <td>2018-03-02</td>\n",
       "      <td>9</td>\n",
       "      <td>-1</td>\n",
       "      <td>晴~多云</td>\n",
       "      <td>北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>95</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-03</td>\n",
       "      <td>2018-03-03</td>\n",
       "      <td>13</td>\n",
       "      <td>3</td>\n",
       "      <td>多云~阴</td>\n",
       "      <td>北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>214</td>\n",
       "      <td>重度污染</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-04</td>\n",
       "      <td>2018-03-04</td>\n",
       "      <td>7</td>\n",
       "      <td>-2</td>\n",
       "      <td>阴~多云</td>\n",
       "      <td>东南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>144</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-05</td>\n",
       "      <td>2018-03-05</td>\n",
       "      <td>8</td>\n",
       "      <td>-3</td>\n",
       "      <td>晴</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>94</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-06</td>\n",
       "      <td>2018-03-06</td>\n",
       "      <td>6</td>\n",
       "      <td>-3</td>\n",
       "      <td>多云~阴</td>\n",
       "      <td>东南风</td>\n",
       "      <td>3-4级</td>\n",
       "      <td>67</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-07</td>\n",
       "      <td>2018-03-07</td>\n",
       "      <td>6</td>\n",
       "      <td>-2</td>\n",
       "      <td>阴~多云</td>\n",
       "      <td>北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>65</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-08</td>\n",
       "      <td>2018-03-08</td>\n",
       "      <td>8</td>\n",
       "      <td>-4</td>\n",
       "      <td>晴</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>62</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-09</td>\n",
       "      <td>2018-03-09</td>\n",
       "      <td>10</td>\n",
       "      <td>-2</td>\n",
       "      <td>多云</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>132</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-10</td>\n",
       "      <td>2018-03-10</td>\n",
       "      <td>14</td>\n",
       "      <td>-2</td>\n",
       "      <td>晴</td>\n",
       "      <td>东南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>171</td>\n",
       "      <td>中度污染</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-11</td>\n",
       "      <td>2018-03-11</td>\n",
       "      <td>11</td>\n",
       "      <td>0</td>\n",
       "      <td>多云</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>81</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-12</td>\n",
       "      <td>2018-03-12</td>\n",
       "      <td>15</td>\n",
       "      <td>3</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>174</td>\n",
       "      <td>中度污染</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-13</td>\n",
       "      <td>2018-03-13</td>\n",
       "      <td>17</td>\n",
       "      <td>5</td>\n",
       "      <td>晴~多云</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>287</td>\n",
       "      <td>重度污染</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-14</td>\n",
       "      <td>2018-03-14</td>\n",
       "      <td>15</td>\n",
       "      <td>6</td>\n",
       "      <td>多云~阴</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>293</td>\n",
       "      <td>重度污染</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-15</td>\n",
       "      <td>2018-03-15</td>\n",
       "      <td>12</td>\n",
       "      <td>-1</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>东北风</td>\n",
       "      <td>3-4级</td>\n",
       "      <td>70</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-16</td>\n",
       "      <td>2018-03-16</td>\n",
       "      <td>10</td>\n",
       "      <td>-1</td>\n",
       "      <td>多云</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>58</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-17</td>\n",
       "      <td>2018-03-17</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>小雨~阴</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>81</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-18</td>\n",
       "      <td>2018-03-18</td>\n",
       "      <td>13</td>\n",
       "      <td>1</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>134</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-19</td>\n",
       "      <td>2018-03-19</td>\n",
       "      <td>13</td>\n",
       "      <td>2</td>\n",
       "      <td>多云</td>\n",
       "      <td>东风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>107</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-20</td>\n",
       "      <td>2018-03-20</td>\n",
       "      <td>10</td>\n",
       "      <td>-2</td>\n",
       "      <td>多云</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>41</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-21</td>\n",
       "      <td>2018-03-21</td>\n",
       "      <td>11</td>\n",
       "      <td>1</td>\n",
       "      <td>多云</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>76</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>2018-03-22</td>\n",
       "      <td>17</td>\n",
       "      <td>4</td>\n",
       "      <td>晴~多云</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>112</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-23</td>\n",
       "      <td>2018-03-23</td>\n",
       "      <td>18</td>\n",
       "      <td>5</td>\n",
       "      <td>多云</td>\n",
       "      <td>北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>146</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>2018-03-24</td>\n",
       "      <td>22</td>\n",
       "      <td>5</td>\n",
       "      <td>晴</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>119</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>2018-03-25</td>\n",
       "      <td>24</td>\n",
       "      <td>7</td>\n",
       "      <td>晴</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>78</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>2018-03-26</td>\n",
       "      <td>25</td>\n",
       "      <td>7</td>\n",
       "      <td>多云</td>\n",
       "      <td>西南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>151</td>\n",
       "      <td>中度污染</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-27</td>\n",
       "      <td>2018-03-27</td>\n",
       "      <td>27</td>\n",
       "      <td>11</td>\n",
       "      <td>晴</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>243</td>\n",
       "      <td>重度污染</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-28</td>\n",
       "      <td>2018-03-28</td>\n",
       "      <td>25</td>\n",
       "      <td>9</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>东风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>387</td>\n",
       "      <td>严重污染</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-29</td>\n",
       "      <td>2018-03-29</td>\n",
       "      <td>19</td>\n",
       "      <td>7</td>\n",
       "      <td>晴</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>119</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-30</td>\n",
       "      <td>2018-03-30</td>\n",
       "      <td>18</td>\n",
       "      <td>8</td>\n",
       "      <td>多云</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>68</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-03-31</td>\n",
       "      <td>2018-03-31</td>\n",
       "      <td>23</td>\n",
       "      <td>9</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>南风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>125</td>\n",
       "      <td>轻度污染</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   ymd  bWendu  yWendu tianqi fengxiang fengli  aqi aqiInfo  \\\n",
       "ymd                                                                           \n",
       "2018-03-01  2018-03-01       8      -3     多云       西南风   1-2级   46       优   \n",
       "2018-03-02  2018-03-02       9      -1   晴~多云        北风   1-2级   95       良   \n",
       "2018-03-03  2018-03-03      13       3   多云~阴        北风   1-2级  214    重度污染   \n",
       "2018-03-04  2018-03-04       7      -2   阴~多云       东南风   1-2级  144    轻度污染   \n",
       "2018-03-05  2018-03-05       8      -3      晴        南风   1-2级   94       良   \n",
       "2018-03-06  2018-03-06       6      -3   多云~阴       东南风   3-4级   67       良   \n",
       "2018-03-07  2018-03-07       6      -2   阴~多云        北风   1-2级   65       良   \n",
       "2018-03-08  2018-03-08       8      -4      晴       东北风   1-2级   62       良   \n",
       "2018-03-09  2018-03-09      10      -2     多云       西南风   1-2级  132    轻度污染   \n",
       "2018-03-10  2018-03-10      14      -2      晴       东南风   1-2级  171    中度污染   \n",
       "2018-03-11  2018-03-11      11       0     多云        南风   1-2级   81       良   \n",
       "2018-03-12  2018-03-12      15       3   多云~晴        南风   1-2级  174    中度污染   \n",
       "2018-03-13  2018-03-13      17       5   晴~多云        南风   1-2级  287    重度污染   \n",
       "2018-03-14  2018-03-14      15       6   多云~阴       东北风   1-2级  293    重度污染   \n",
       "2018-03-15  2018-03-15      12      -1   多云~晴       东北风   3-4级   70       良   \n",
       "2018-03-16  2018-03-16      10      -1     多云        南风   1-2级   58       良   \n",
       "2018-03-17  2018-03-17       4       0   小雨~阴        南风   1-2级   81       良   \n",
       "2018-03-18  2018-03-18      13       1   多云~晴       西南风   1-2级  134    轻度污染   \n",
       "2018-03-19  2018-03-19      13       2     多云        东风   1-2级  107    轻度污染   \n",
       "2018-03-20  2018-03-20      10      -2     多云        南风   1-2级   41       优   \n",
       "2018-03-21  2018-03-21      11       1     多云       西南风   1-2级   76       良   \n",
       "2018-03-22  2018-03-22      17       4   晴~多云       西南风   1-2级  112    轻度污染   \n",
       "2018-03-23  2018-03-23      18       5     多云        北风   1-2级  146    轻度污染   \n",
       "2018-03-24  2018-03-24      22       5      晴       西南风   1-2级  119    轻度污染   \n",
       "2018-03-25  2018-03-25      24       7      晴        南风   1-2级   78       良   \n",
       "2018-03-26  2018-03-26      25       7     多云       西南风   1-2级  151    中度污染   \n",
       "2018-03-27  2018-03-27      27      11      晴        南风   1-2级  243    重度污染   \n",
       "2018-03-28  2018-03-28      25       9   多云~晴        东风   1-2级  387    严重污染   \n",
       "2018-03-29  2018-03-29      19       7      晴        南风   1-2级  119    轻度污染   \n",
       "2018-03-30  2018-03-30      18       8     多云        南风   1-2级   68       良   \n",
       "2018-03-31  2018-03-31      23       9   多云~晴        南风   1-2级  125    轻度污染   \n",
       "\n",
       "            aqiLevel  \n",
       "ymd                   \n",
       "2018-03-01         1  \n",
       "2018-03-02         2  \n",
       "2018-03-03         5  \n",
       "2018-03-04         3  \n",
       "2018-03-05         2  \n",
       "2018-03-06         2  \n",
       "2018-03-07         2  \n",
       "2018-03-08         2  \n",
       "2018-03-09         3  \n",
       "2018-03-10         4  \n",
       "2018-03-11         2  \n",
       "2018-03-12         4  \n",
       "2018-03-13         5  \n",
       "2018-03-14         5  \n",
       "2018-03-15         2  \n",
       "2018-03-16         2  \n",
       "2018-03-17         2  \n",
       "2018-03-18         3  \n",
       "2018-03-19         3  \n",
       "2018-03-20         1  \n",
       "2018-03-21         2  \n",
       "2018-03-22         3  \n",
       "2018-03-23         3  \n",
       "2018-03-24         3  \n",
       "2018-03-25         2  \n",
       "2018-03-26         4  \n",
       "2018-03-27         5  \n",
       "2018-03-28         6  \n",
       "2018-03-29         3  \n",
       "2018-03-30         2  \n",
       "2018-03-31         3  "
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 按月份前缀筛选\n",
    "df.loc['2018-03']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "DatetimeIndex(['2018-07-01', '2018-07-02', '2018-07-03', '2018-07-04',\n",
       "               '2018-07-05', '2018-07-06', '2018-07-07', '2018-07-08',\n",
       "               '2018-07-09', '2018-07-10', '2018-07-11', '2018-07-12',\n",
       "               '2018-07-13', '2018-07-14', '2018-07-15', '2018-07-16',\n",
       "               '2018-07-17', '2018-07-18', '2018-07-19', '2018-07-20',\n",
       "               '2018-07-21', '2018-07-22', '2018-07-23', '2018-07-24',\n",
       "               '2018-07-25', '2018-07-26', '2018-07-27', '2018-07-28',\n",
       "               '2018-07-29', '2018-07-30', '2018-07-31', '2018-08-01',\n",
       "               '2018-08-02', '2018-08-03', '2018-08-04', '2018-08-05',\n",
       "               '2018-08-06', '2018-08-07', '2018-08-08', '2018-08-09',\n",
       "               '2018-08-10', '2018-08-11', '2018-08-12', '2018-08-13',\n",
       "               '2018-08-14', '2018-08-15', '2018-08-16', '2018-08-17',\n",
       "               '2018-08-18', '2018-08-19', '2018-08-20', '2018-08-21',\n",
       "               '2018-08-22', '2018-08-23', '2018-08-24', '2018-08-25',\n",
       "               '2018-08-26', '2018-08-27', '2018-08-28', '2018-08-29',\n",
       "               '2018-08-30', '2018-08-31', '2018-09-01', '2018-09-02',\n",
       "               '2018-09-03', '2018-09-04', '2018-09-05', '2018-09-06',\n",
       "               '2018-09-07', '2018-09-08', '2018-09-09', '2018-09-10',\n",
       "               '2018-09-11', '2018-09-12', '2018-09-13', '2018-09-14',\n",
       "               '2018-09-15', '2018-09-16', '2018-09-17', '2018-09-18',\n",
       "               '2018-09-19', '2018-09-20', '2018-09-21', '2018-09-22',\n",
       "               '2018-09-23', '2018-09-24', '2018-09-25', '2018-09-26',\n",
       "               '2018-09-27', '2018-09-28', '2018-09-29', '2018-09-30'],\n",
       "              dtype='datetime64[ns]', name='ymd', freq=None)"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 按月份前缀筛选\n",
    "df.loc[\"2018-07\":\"2018-09\"].index"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>ymd</th>\n",
       "      <th>bWendu</th>\n",
       "      <th>yWendu</th>\n",
       "      <th>tianqi</th>\n",
       "      <th>fengxiang</th>\n",
       "      <th>fengli</th>\n",
       "      <th>aqi</th>\n",
       "      <th>aqiInfo</th>\n",
       "      <th>aqiLevel</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>ymd</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>2018-01-01</td>\n",
       "      <td>2018-01-01</td>\n",
       "      <td>3</td>\n",
       "      <td>-6</td>\n",
       "      <td>晴~多云</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>59</td>\n",
       "      <td>良</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-02</td>\n",
       "      <td>2018-01-02</td>\n",
       "      <td>2</td>\n",
       "      <td>-5</td>\n",
       "      <td>阴~多云</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>49</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-03</td>\n",
       "      <td>2018-01-03</td>\n",
       "      <td>2</td>\n",
       "      <td>-5</td>\n",
       "      <td>多云</td>\n",
       "      <td>北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>28</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-04</td>\n",
       "      <td>2018-01-04</td>\n",
       "      <td>0</td>\n",
       "      <td>-8</td>\n",
       "      <td>阴</td>\n",
       "      <td>东北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>28</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2018-01-05</td>\n",
       "      <td>2018-01-05</td>\n",
       "      <td>3</td>\n",
       "      <td>-6</td>\n",
       "      <td>多云~晴</td>\n",
       "      <td>西北风</td>\n",
       "      <td>1-2级</td>\n",
       "      <td>50</td>\n",
       "      <td>优</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   ymd  bWendu  yWendu tianqi fengxiang fengli  aqi aqiInfo  \\\n",
       "ymd                                                                           \n",
       "2018-01-01  2018-01-01       3      -6   晴~多云       东北风   1-2级   59       良   \n",
       "2018-01-02  2018-01-02       2      -5   阴~多云       东北风   1-2级   49       优   \n",
       "2018-01-03  2018-01-03       2      -5     多云        北风   1-2级   28       优   \n",
       "2018-01-04  2018-01-04       0      -8      阴       东北风   1-2级   28       优   \n",
       "2018-01-05  2018-01-05       3      -6   多云~晴       西北风   1-2级   50       优   \n",
       "\n",
       "            aqiLevel  \n",
       "ymd                   \n",
       "2018-01-01         2  \n",
       "2018-01-02         1  \n",
       "2018-01-03         1  \n",
       "2018-01-04         1  \n",
       "2018-01-05         1  "
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 按年份前缀筛选\n",
    "df.loc[\"2018\"].head()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 4、方便的获取周、月、季度\n",
    "\n",
    "Timestamp、DatetimeIndex支持大量的属性可以获取日期分量：  \n",
    "https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#time-date-components"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Int64Index([ 1,  1,  1,  1,  1,  1,  1,  2,  2,  2,\n",
       "            ...\n",
       "            51, 51, 52, 52, 52, 52, 52, 52, 52,  1],\n",
       "           dtype='int64', name='ymd', length=365)"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 周数字列表\n",
    "df.index.week"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Int64Index([ 1,  1,  1,  1,  1,  1,  1,  1,  1,  1,\n",
       "            ...\n",
       "            12, 12, 12, 12, 12, 12, 12, 12, 12, 12],\n",
       "           dtype='int64', name='ymd', length=365)"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 月数字列表\n",
    "df.index.month"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Int64Index([1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n",
       "            ...\n",
       "            4, 4, 4, 4, 4, 4, 4, 4, 4, 4],\n",
       "           dtype='int64', name='ymd', length=365)"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 季度数字列表\n",
    "df.index.quarter"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 5、统计每周、每月、每个季度的最高温度"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 统计每周的数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "ymd\n",
       "1    3\n",
       "2    6\n",
       "3    7\n",
       "4   -1\n",
       "5    4\n",
       "Name: bWendu, dtype: int32"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.groupby(df.index.week)[\"bWendu\"].max().head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x23300b75b88>"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAEGCAYAAAB8Ys7jAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nO3deXhV5bX48e86meeQOSSEAGEOEAQREqtIHcB5bGvVoh283lrb3va22mtbW71WbX/Wzu2lrWCr1bYCDigozjIKMiSBMGYAMg9kIHPOeX9/5EQZMpwkJznT+jxPnpyzz97Zyy1ZvLx77fWKMQallFKex+LqAJRSSg2NJnCllPJQmsCVUspDaQJXSikPpQlcKaU8lP9oniwuLs6kp6eP5imVUsrjffzxxzXGmPizt49qAk9PT2fnzp2jeUqllPJ4IlLS23adQlFKKQ+lCVwppTyUJnCllPJQmsCVUspDaQJXSikPpQlcKaU8lCZwpZTyUJrAlUeoa+7ghY+Ooe2PlfrUqD7Io9RQGGP4/ou5vFVQSWZKFJkpUa4OSSm3oCNw5fZeyyvnrYJKAHYfr3dxNEq5D03gyq2dbO7goZf3MTs1irjwQPYc0wSuVA9N4MqtPbJuPw2tnTxx02yyxkWz+/hJV4eklNvQOXDltt47WMWa3aV8c0kG05MjyRoXzVsFVTS0dBIVGjCsn51f2sD2orpePwvwE26Ym0JE8PDOodRI0wSu3NKp9i4eXJtPRkI49y7JACBr3BgA9p6o56Ip53TWdIgxhlVbinn0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EIvI8sJjuNpGVwEPAS8C/gDTgGHCLMebsG51eQ0QuBD4E8vh03vN/6J4H96XrMJvuG1N+dA+Q/mWMeVhEJtI9Go0BdgO3G2PaXRfp6LBPofy3MeZqX7sG9v/etfa3/sA/jDGPikgsTvqd0ASulFIeSqdQlFLKQ2kCV0opD6UJXCmlPJQmcKWU8lCawJVSykNpAlfKQSJyauC9lBo9msCVUspDaS8U5dVE5BGgxhjza/v7R+l+2Oom+/csYA3dDyB9CwgBrjfGHBWRCcA/6P492eCC8JXql47Albf7K/bHlkXEQvej3aXAHLoT9izgDmCKMWYB3e1P77Mf+2vgj8aY84GKUY5bqQFpAldezRhTDNSKyFy6e1HsBmqBHfYe5u10t3t9035IHpBuf50DPG9//ffRilkpR+kUivIFfwHuBJKAp+3bTu/BYTvtvY0zfy+014RyWzoCV75gLd1L3p0PvDGI4zbTPeUCcJuzg1JquDSBK69njOmgu5Xpv+yLLTjqW3Sv7bkDiBqR4JQaBu1GqLye/eblLrrbdh52dTxKOYuOwJVXE5EZwBG6VwHX5K28io7AlVLKQ+kIXCmlPJQmcKWU8lCawJVSykNpAldKKQ+lCVwppTzU/wcYs/FWFANtRwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "df.groupby(df.index.week)[\"bWendu\"].max().plot()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 统计每个月的数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "ymd\n",
       "1      7\n",
       "2     12\n",
       "3     27\n",
       "4     30\n",
       "5     35\n",
       "6     38\n",
       "7     37\n",
       "8     36\n",
       "9     31\n",
       "10    25\n",
       "11    18\n",
       "12    10\n",
       "Name: bWendu, dtype: int32"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.groupby(df.index.month)[\"bWendu\"].max()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x23302dac4c8>"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAEGCAYAAACevtWaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nO3deViVdf7/8eebw74IIqAIGO6AC1iIlu1p2qbVtE1mljrVTNM2ztTU9G2vaWqyqZlqKjXNbHFaHSvRsdRqSsWF3V0TVBZFQATBA5/fH5zp55SOgJxzn+X9uC4uDjfnPvfrqLy8+dz3/bnFGINSSinv4md1AKWUUp1Py10ppbyQlrtSSnkhLXellPJCWu5KKeWF/F25sZiYGJOcnOzKTSqllMdbu3btPmNMbHvWcWm5Jycnk5OT48pNKqWUxxOR79u7jg7LKKWUF9JyV0opL6TlrpRSXkjLXSmlvJCWu1JKeSEtd6WU8kJa7kop5YVcep67Us6yZmcV+aU1DE6IZHBCF0ID9Z+28m36E6A82oFDTTz5WTHvry39YZmfwIDuEaQnRjE0KZL0xCgG9oggwKa/qCrfoeWuPJIxho/W7+aJT4upbTjCr87ty/UjerGp7CC5pTXkllSTXVTGezklAAT5+zGoZxfSk6JIT4wiPSmK5G6hiIjF70Qp5xBX3okpMzPT6PQD6mTt3HeIBz8u4Out+zi1VxRPXTmElB5dfvI8YwwlVQ1sKK0mt6SavNJq8nfXcPhICwCRIQEMTYz8oezTEyOJ6xLs6rej1AmJyFpjTGZ71tE9d+UxmuwtvP7Vdl5ctoVAmx+PXz6YiVm98PM79t63i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faB1qnt+W53t9uYtIAK3FPt8Y86HVeVxgFDBeRHYC7wLni8hb1kZyulKg1Bjzn9/K3qe17L3ZaGCHMabSGHME+BA4w+JMrlIuIvEAjs8VFudxOhGZDFwKTDRtvDjJq8tdRITWcdhiY8wMq/O4gjHmfmNMojEmmdYDbF8YY7x6j84YUwaUiMhAx6ILgCILI7nCLmCkiIQ6/p1fgJcfRD7KQmCy4/Fk4BMLszidiIwD7gPGG2Pq27qeV5c7rXuxk2jde93g+LjY6lDKKe4A5otIHpABPGVxHqdy/JbyPrAOyKf1Z9nrLssXkXeAb4GBIlIqIlOBp4ExIrIFGOP42isc5/3+DYgAljo67O9tei2dfkAppbyPt++5K6WUT9JyV0opL6TlrpRSXkjLXSmlvJCWu1JKeSEtd6XaSETqrM6gVFtpuSullBfytzqAUs4kIo8D+4wxLzi+fhIoB37m+JxB66X7+bROkxwCXG6M2SYivYG3af05WWxBfKU6TPfclbebheNSdRHxo3VKht20zvl+FzCE1quYBxhjsmidJvkOx7ov0DoZ2XCgzMW5lTopWu7KqxljdgL7RWQYcCGwHtgPrHHM998IbAP+M11uPpDseDwKeMfxeJ6rMivVGXRYRvmCmcBNQA9gtmNZ41Hfbznq6xb+++dC5+dQHkn33JUv+IjWW5cNB7Lbsd43/P9b103s7FBKOZOWu/J6xpgm4EtggTGmuR2r3kXrfXfXAJFOCaeUk+iskMrrOQ6krgOuNsZssTqPUq6ge+7Kq4lIGrAVWKbFrnyJ7rkrpZQX0j13pZTyQlruSinlhbTclVLKC2m5K6WUF9JyV0opL/T/AIZXqyQfY4RNAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "df.groupby(df.index.month)[\"bWendu\"].max().plot()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 统计每个季度的数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "ymd\n",
       "1    27\n",
       "2    38\n",
       "3    37\n",
       "4    25\n",
       "Name: bWendu, dtype: int32"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.groupby(df.index.quarter)[\"bWendu\"].max()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x23302e338c8>"
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXgAAAEGCAYAAABvtY4XAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nO3deXxU9b3/8dcn+8YWCIskYd8joEaKuyIqrtCqXW5ra1uXn7+2rlWrIhbFDa3aertcrfba1lpbF0QEERXcZS172HfZAmFNSIDwvX/MBAMSM0lm5syceT8fjzw6mTkn+Zwe+czJe845H3POISIi/pPkdQEiIhIZavAiIj6lBi8i4lNq8CIiPqUGLyLiUynR/GVt2rRxnTt3juavFBGJe7Nnz97mnMtr6HpRbfCdO3dm1qxZ0fyVIiJxz8zWNmY9RTQiIj6lBi8i4lNq8CIiPqUGLyLiU2rwIiI+VW+DN7MMM5thZvPMbJGZjQ4+f66ZzTGzuWb2sZl1j3y5IiISqlCO4KuAIc65AcBAYJiZDQb+CHzfOTcQ+AcwMnJliohIQ9V7HrwL3E94b/Db1OCXC341Dz7fAtgYiQLFe1UHq/nbZ2tplpFCYW42ha2z6NA8g6Qk87o0EfkaIV3oZGbJwGygO/B759x0M7sGmGhm+4DdwOA61r0OuA6gsLAwLEVLdD317nL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4lNq8CIiPqUGLyLiU2rwIiEys731LyUSO9TgRUR8KuwXOonEEjN7ANjmnPtt8PsHgS3A5cH/HQi8BiwAbgIygRHOuZVm1oXArVtTgLc9KF+kSXQEL373HMHLu80sicDVf18AAwg09OMJXN3a0zk3iMCtWn8RXPe3wB+dcycDm6Nct0iTqcGLrznn1gDbzewE4HzgPwTuLTMzeH/4KmAl8E5wlQVA5+Dj04CXgo//Fq2aRcJFEY0kgj8TuCdJe+D54HNVtV4/VOv7Qxz570L38pC4pSN4SQSvE7it7MnA5Aas9wlf3tDp++EuSiTS1ODF95xz+4GpBO4+WN2AVW8CfmZmMwnce1skruhukuJ7wQ9X5wBXOueWe12PSLToCF58zcz6Erh3/Xtq7pJodAQvIuJTOoIXEfEpNXgREZ9SgxcR8Sk1eBERn1KDFxHxqf8DPr54tMa9R3IAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "df.groupby(df.index.quarter)[\"bWendu\"].max().plot()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
